﻿namespace WMS6.Web.CustomsServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="ImportDeclarationsQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity")]
    public class ImportDeclarationsQueryEntity : BaseQuery
    {
        [OptionalField]
        private string BusinessTypeField;
        [OptionalField]
        private string CaseCntField;
        [OptionalField]
        private string CompanyDeclarationgsIDField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string DeclarationsDateField;
        [OptionalField]
        private string DeclarationsIDField;
        [OptionalField]
        private string DeclarationsTypeField;
        [OptionalField]
        private string ExtendedPriceField;
        [OptionalField]
        private string ImportDateField;
        [OptionalField]
        private string NtotalEtWgtField;
        [OptionalField]
        private string OwnerIDField;
        [OptionalField]
        private string OwnerOrderIDField;
        [OptionalField]
        private string PalletField;
        [OptionalField]
        private string ReamrkField;
        [OptionalField]
        private string ReceiptIDField;
        [OptionalField]
        private string RecordDateField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string StatusField;
        [OptionalField]
        private string TotalCubeField;
        [OptionalField]
        private string TotalGrossWgtField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string VerificationFormIDField;
        [OptionalField]
        private string WhIDField;

        [DataMember]
        public string BusinessType
        {
            get
            {
                return this.BusinessTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.BusinessTypeField, value))
                {
                    this.BusinessTypeField = value;
                    base.RaisePropertyChanged("BusinessType");
                }
            }
        }

        [DataMember]
        public string CaseCnt
        {
            get
            {
                return this.CaseCntField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CaseCntField, value))
                {
                    this.CaseCntField = value;
                    base.RaisePropertyChanged("CaseCnt");
                }
            }
        }

        [DataMember]
        public string CompanyDeclarationgsID
        {
            get
            {
                return this.CompanyDeclarationgsIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CompanyDeclarationgsIDField, value))
                {
                    this.CompanyDeclarationgsIDField = value;
                    base.RaisePropertyChanged("CompanyDeclarationgsID");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string DeclarationsDate
        {
            get
            {
                return this.DeclarationsDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DeclarationsDateField, value))
                {
                    this.DeclarationsDateField = value;
                    base.RaisePropertyChanged("DeclarationsDate");
                }
            }
        }

        [DataMember]
        public string DeclarationsID
        {
            get
            {
                return this.DeclarationsIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DeclarationsIDField, value))
                {
                    this.DeclarationsIDField = value;
                    base.RaisePropertyChanged("DeclarationsID");
                }
            }
        }

        [DataMember]
        public string DeclarationsType
        {
            get
            {
                return this.DeclarationsTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DeclarationsTypeField, value))
                {
                    this.DeclarationsTypeField = value;
                    base.RaisePropertyChanged("DeclarationsType");
                }
            }
        }

        [DataMember]
        public string ExtendedPrice
        {
            get
            {
                return this.ExtendedPriceField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExtendedPriceField, value))
                {
                    this.ExtendedPriceField = value;
                    base.RaisePropertyChanged("ExtendedPrice");
                }
            }
        }

        [DataMember]
        public string ImportDate
        {
            get
            {
                return this.ImportDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ImportDateField, value))
                {
                    this.ImportDateField = value;
                    base.RaisePropertyChanged("ImportDate");
                }
            }
        }

        [DataMember]
        public string NtotalEtWgt
        {
            get
            {
                return this.NtotalEtWgtField;
            }
            set
            {
                if (!object.ReferenceEquals(this.NtotalEtWgtField, value))
                {
                    this.NtotalEtWgtField = value;
                    base.RaisePropertyChanged("NtotalEtWgt");
                }
            }
        }

        [DataMember]
        public string OwnerID
        {
            get
            {
                return this.OwnerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OwnerIDField, value))
                {
                    this.OwnerIDField = value;
                    base.RaisePropertyChanged("OwnerID");
                }
            }
        }

        [DataMember]
        public string OwnerOrderID
        {
            get
            {
                return this.OwnerOrderIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OwnerOrderIDField, value))
                {
                    this.OwnerOrderIDField = value;
                    base.RaisePropertyChanged("OwnerOrderID");
                }
            }
        }

        [DataMember]
        public string Pallet
        {
            get
            {
                return this.PalletField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PalletField, value))
                {
                    this.PalletField = value;
                    base.RaisePropertyChanged("Pallet");
                }
            }
        }

        [DataMember]
        public string Reamrk
        {
            get
            {
                return this.ReamrkField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReamrkField, value))
                {
                    this.ReamrkField = value;
                    base.RaisePropertyChanged("Reamrk");
                }
            }
        }

        [DataMember]
        public string ReceiptID
        {
            get
            {
                return this.ReceiptIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReceiptIDField, value))
                {
                    this.ReceiptIDField = value;
                    base.RaisePropertyChanged("ReceiptID");
                }
            }
        }

        [DataMember]
        public string RecordDate
        {
            get
            {
                return this.RecordDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RecordDateField, value))
                {
                    this.RecordDateField = value;
                    base.RaisePropertyChanged("RecordDate");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string Status
        {
            get
            {
                return this.StatusField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StatusField, value))
                {
                    this.StatusField = value;
                    base.RaisePropertyChanged("Status");
                }
            }
        }

        [DataMember]
        public string TotalCube
        {
            get
            {
                return this.TotalCubeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TotalCubeField, value))
                {
                    this.TotalCubeField = value;
                    base.RaisePropertyChanged("TotalCube");
                }
            }
        }

        [DataMember]
        public string TotalGrossWgt
        {
            get
            {
                return this.TotalGrossWgtField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TotalGrossWgtField, value))
                {
                    this.TotalGrossWgtField = value;
                    base.RaisePropertyChanged("TotalGrossWgt");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string VerificationFormID
        {
            get
            {
                return this.VerificationFormIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VerificationFormIDField, value))
                {
                    this.VerificationFormIDField = value;
                    base.RaisePropertyChanged("VerificationFormID");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

